<!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="__INDEX__/store/css/mui.min.css" rel="stylesheet" />
		<link rel="stylesheet" type="text/css" href="__INDEX__/store/css/style.css" />
		<link rel="stylesheet" href="__INDEX__/store/css/iconfont.css" />
		<link rel="stylesheet" href="__INDEX__/store/css/wallet.css" />
		<style type="text/css">
			.payment_erweima canvas{width: 180px; height: 180px;}
			@media only screen and (min-width: 321px){.payment_erweima canvas,.payment_erweima{width: 210px; height: 210px;}}
			@media only screen and (min-width: 381px){.payment_erweima canvas,.payment_erweima{width: 240px; height: 240px;}}
			@media only screen and (width: 384px){.payment_erweima canvas,.payment_erweima{width: 220px; height: 220px;}}
			@media only screen and (min-width: 600px){.payment_erweima canvas,.payment_erweima{width: 340px; height: 340px;}}
		</style>
		<!--[if lt IE 9]> 
		<script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script> 
		<![endif]--> 
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 class="mui-title">连锁店一号店</h1>
		</header>
		<div class="mui-content liansd_content">
			<div class="liansuod_conbox">
				<div class="liandxq_top">五岭广场店</div>
				<div class="liansd_ewmbt">门店收款码</div>
				<div class="payment_erweima" id="qrcode" ><img src="../images/erweima.png"></div>
				<div class="liansd_bc"><a href="#">保存收款码</a></div>
				<div class="liansd_dy clearfix">
					<span>店员</span>
					<span class="right">战三三</span>
				</div>
			</div>
		</div>
	</body>
</html>
{include file="public/footer" /}
<script type="text/javascript" src="__INDEX__/store/js/jquery.form.js"></script>
<script type="text/javascript" src="__INDEX__/store/js/jquery.qrcode.js"></script>
<script type="text/javascript" src="__INDEX__/store/js/utf.js"></script>
<script type="text/javascript" src="__INDEX__/store/js/app.js"></script>
<script type="text/javascript">//fromuid
	//当前用户
	var member = JSON.parse(localStorage.getItem('member'));
	//当前用户店铺
	var agent_info  = JSON.parse(localStorage.getItem('agent_info'));
	//中间二维码
	//图片地址
	var touxiang = user_tupian(agent_info['store_logo'],'/images/logo-ma.jpg');
    $("#qrcode").qrcode({
        render : "canvas",    //设置渲染方式，有table和canvas，使用canvas方式渲染性能相对来说比较好
        text : APP.web_root+"wallet/querfuk.html?fromuid="+getUid()+"&store_id="+agent_info['id'],    //扫描二维码后显示的内容,可以直接填一个网址，扫描二维码后自动跳向该链接
        width : "180",               //二维码的宽度
        height : "180",              //二维码的高度
        background : "#ffffff",       //二维码的后景色
        foreground : "#000000",        //二维码的前景色
        src: touxiang             //二维码中间的图片
    });
	$(".payment_bottom").click(function(){
		location.href="record.html?record_type=store_qrcode_record";
	});
	
</script>